Laravel / Debugging / SSL issue when running composer
SSl issue when running composer
-
Steps
1. Issue
curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get local issuer certificate
2. Solutions
Solution 1add below code in the composer.json
"repositories": [ { "type": "composer", "url": "https://repo.packagist.org", "options": { "ssl": { "verify_peer": false, "allow_self_signed": true, "cafile": "PATH_TO_YOUR_CAFILE (ex. D:/curl-ca-bundle.crt)", "capath": "DIRECTORY_PATH_TO_YOUR_CAFILE" } } } ],
MANVIA BLOG